for fitting to an output condition