function and quota