assign two labels to cube