changed the val in [0,1] to a single element list since we only have a single grouping range