differentiate flag for Enclosing Function