stubbing out the repositories API calls