Add scratch code

I wrote some scratch code that I want to reconsider when I have time