Edit for timer logic