fixed seat factory
parameterized the simulator.rb