build the stanza correctly