extract names of functions