to setup the environment