timing code near completion