split up the queries chapter into multiple sections