add clear button and R mode