main program

program pretty much completed