Intial timer stuff. Fails on tick 0x2f~0x30