working visualization of lexicons, need to work on function implementation