experimental support for balance function; unittest