Made the program simpler.