changes to cas3d