homework assignment 4, even tho the message says assignment 3