clear method