refactoring for heroku