allow passing variables in from caller