refactor section to build pattern without placeholder or static text objects