added plotting routine