added cubes generator