swithed out Number.prototype for private function