removed duplicate message console.log