assignment #5 task #6