adds log info for debugging