added significant logging (heroku logs stdout)