Random code I wrote in my spare time