Working on assignment bug, need to fix error reporting