total_all function