added structure of program