do we need a `toMap` on this line?