Changing the call of method datastore