Extends from number. Cleans up code.