make some changes to undo function method name.