removed changes to constructCube :(