working v1 no tests
ready for heroku