setting up environment