utilities for xhan