Doing a proper list for the function enumeration