added a remove all function.