finished the use of dispatcher