Basic outline of dispatcher