checking in assignment 3