simplified clear method