added some static helpers to reposed model