add cube's environment