calling lua functions works