added legend and commented out VC stuff