enviroment building and first page