BTW, does this need to be here? why not just use the function from sdelib.commons