additional revisions to initial R programs
to view main graphs