Removed most of the problematic lines keeping the program from compiling. Still need to set up timing.