using in memory database