Added list capabilities to Util expand function