added ranges and multiple columns for key column