moved  max quota definition to separte class