Removing dead function