add functions to utils