time client and handler