timing code complete