roots was empty so the call to roots.Single throws