created new method in iterated client datastore to save sample to chain