added timing to the code and three operations