partially implemented setMockData