new cas3d stuff plus some tomography