added a new save_stimuli method to the datastore class