completed assignment 4