implemented clear button