good version, works on heroku