add cube sample