added prototype of kwic function