Added the delete all function