code review: clarify, use in-memory db