error in assignment