revise ending