added docstring on clear_datastore