assignment #4 task #6