removed dependency on LexAPI