adding plotting