a lite implementation of jing