assignment #2 task #6