updated timing code, need to format output