Now using System.in instead of System.console for input