finalized the storage sample