input groups: finish creating the pattern