add code to samples
storage api