trying to get plotting to work