get repeatable groups working
simplify