Changed to memoair class