added Untility functions