rewrite gtimi