yanks unnecessary code