EDIT format code