finished question3.6