updated timing loops