Added Number function, updated main code and variables.