initial heruko commit
reformatting
debug
revised and cleaned up