dispatch works with two modules now