import lattix function into the plugins sources