log results instead of returing results