Brain rewrite