fixed a bug in engine.rb that was causing movement issues and removed some unnecessary comments