Having a hard time understanding where `val` is coming from and what it is. Is that referring to `token`?