Notes on modularity and algebra updated