complete program 1.1