A bit messy since we are passing in number, but that made the select easier to get working.