can build 2 different types of dicts with values suited to their purposes now
added check functions - binary and term frequency