completed assignment 1.4