uses in memory database