setting the dispatcher i think goes on line 70 because according to the function add below from 93 onwards we are using the dispatcher already on line 101.