Homework #2 task #3