remove dead code in assignment.rb