edited shelter & main.rb files