revise stackdecoder to use language model