setting up the environment