calendar counting working