Added do_range() and more sst work.