added timing code
timing output formatted