adding plotting helpers.