removes old code