Finished queries in Main.rb file