implemented InMemoryRepository interface members