commented out plotting for efficiency