added back missing util functions