change range to number