added wrap for get from in-memory