completed week 5 assignment 3