setting up the enviroment