adding function for finding quota