added reporting of the true objective and some other logging