custom timing method added