call reset if data exists
context is this