added core plot to show graphs