adding logging to post results