Added func DeleteAll, fixed func pop