updated for voxel-view switch