changing the way dispatch configured