made maximum rating configurable