setup staging variables