it calls lua functions with parameters