primary and secondary tab completion