added removeAll functionality