quality timings, modified code