add a function to build JAKI file