trying to make this work for heroku