checking in assignment 4