not yet working, but re-worked a ton of crap
shit is working now
add Env type
use Env type