added timing.c