sheet3:exercises 3 and 4 comments and improvements