set up enviroment