modified for the addition of regulates to ont flex