Removes obsolete function and obsolete 0's