changed to cube model