add cubes sample