added Proc for heroku