generaliztion on storage backends and storage in memory backend