added timing, delays and byte counters