dispatch subsection correctly