creat an init environment