Flexible IDF approach with endogenous inputs - Discussion paper | Synapse