added bare_bones util funcs