move #info to separate method in heroku