Quotas

fixes GH-976