adding some word frequency stuff, bit ahead of myself