compiles and run - save to file to finish