rewrite right edit function