Changed plot to use ms