encoding in assignment corrected