reworking cube model