added in-memory adapter