setup the environment