Removed duplicate logging