print rewritten