Does this actually work? I'm not seeing where `roll` is defined.