expose the function called by the macro