simplicify the program