function to get function names and descriptions