Let's see how many times I can write the same code in one day. I'm up to 4 at the moment. Bloody power cuts