implement clear button