simplified external function interface from marshall