first shot at generating function names automatically