setting up enviroment