added parsing of available function
fixed func.__name__