What is the dispatcher used for?