restored toNumber