preliminary function call support from lua