adding NL Processing code. not yet merged with Wei yet though