added clear all function