added timing support to Client class