I should really stop trying to program while tired...