Added log fn.