sketch some work toward generating function wrappers