Mostly functional timer