added clear button to sample page