refinement for adding log info