changes for level.rb(3)