create deleteAll method