added timing in main