fixed hoogling, added RangeQuery, formatting, added some exports