use methodOnRemove