Added a clearAll method