Rewriting the self