updated to reflect changes to the vtk api