added working sections in app.rb