added getNumber method