new cubes functions