added supplementary functions from hovergroup svn