adding an env table to be passed around