renamed "cancel" to "clear".