completed week 3 assignment 4