rewrite qtime