centralize logic for feed forward