Added log for easy debugging