Completed session 7 assignment