added in 'related word' functionality