added heroku db method