Changed to in memory db