Added missing util function