enable can be a function

the function is resolved a the first compilation