Added max ranks