Some of my code for the hacksmiths mini hackathon