enabled alternative implementation that extends Number