added N class. Handle NumberFormatException!!