adding support for max tenure threshold