moved deferred resume call to the Data class