implemented hclear