added autogen for storage