put utilities into hs util file