updated utitlity