Added missing line to the getLine function