set up the environment
v1