setting enviroment