new functions for easy plot-interface