added in-memory example