Set and get method for the storage