quota and sum