Added log to the console