generator restrictions