added function to util