change the SingleNumber class to NumberArray