scratch.py should not be in the repo
better logging