Removed duplicate console log