Added ploting.