updated for assignment 7 started