added console.log test to resume event