finished question5.1