added interfaces for visualization, see issue #22