made changes to wrong assign