functionSpac and definedFunction