Undo change to function