differentiate external vars from funcs