setup of environment