add output of each part of objective function