rewrite text course