add documentation for memory storage