Fixed the console log outputs
updated the console log outputs