mocking up against the flavors api instead