queue and sum