implement frequencies
index dictionary by array
implement some liblazy functions over iterators
this only causes issues
clean up underscores