write producttion.rb