> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/callables/callables.with_callee_names.md).

# Callables.with\_callee\_names()

`with_callee_names(`*`names: List[str]`*`,`` `*`sensitivity: bool = True`*`) →` [`Callables`](/glider-ide/api/callables.md)

Adds a filter to get callables that have all of the specified callees (functions that are being called within a function/modifier). Returns a filtered [Callables](/glider-ide/api/callables.md) child object.&#x20;

This method can be called on all [Callables](/glider-ide/api/callables.md) child classes: [Functions](/glider-ide/api/functions.md) and [Modifiers](/glider-ide/api/modifiers.md).

## Function Example

```python
from glider import *


def query():
  # Retrieve all functions that call both the owner() and msgSender() functions
  functions = Functions().with_callee_names(["owner", "msgSender"]).exec(1)

  # Returns the function found
  return functions
```

## Example Output

```solidity
constructor () {
    _balances[_msgSender()] = 10000;
    _isExcludedFromFee[owner()] = true;
}
```

## Modifier Example

```python
from glider import *


def query():
  # Retrieve all the modifiers that call both the owner() and msgSender() functions
  modifiers = Modifiers().with_callee_names(["owner", "msgSender"]).exec(1)

  # Return the modifier found
  return modifiers
```

## Example Output

```solidity
modifier onlyOwner() {
    require(owner() == _msgSender(), "Ownable: caller is not the owner");
    _;
}
```
