improve raw_timer