begin feedforward implementation