prepping to refactor to generic repository