assignment #2 task #7