s/valsIn/ids/ clean up in example