Removed warning and pointless cout