working up to task 4