removed unused variable
added timing
added timing functionality