change clear method