finish range flatten
work on choosing range