comments and revisions complete for main.spp