check in assignment 2