move selector: work to template, allow element to have nested array mixins