removed the cubicmodel case from MainProgram.java