use a simpler rootForType from igor