Added new util functions