Added core timer logic.