allow functions, disable other cases