clearAll option added.