clearing the data object after the call is made.