Added log for debug