deletion of unnecessary method