Logical order:
- vars
- log
- functions