Pass vars to expose functions