vars and functions