do we have a 'model' module somewhere? this function would belong there...