add.rb and models