added in memory db feature