implement clear data