add clear method