factor out state seats, use only one saint lague function