setting co nmax