add clearAll method