added new functions in utility.