some utility modules functions