make it work with the memoryDao first