Added clock ticking