utils from josem