Util function finished.