implement clear