basic structure of the program 4 10