Added paramter to myPlotter