adding plotting tool