beginnings of dispatcher