Number function completed