added control.rb