function and class exposure