made plotting changes