Added Util functions