slight mod to flex time