removes old code.