fix for heroku
added reset table functionality
statustucs testing - still not working