money generator added to number class