first pass through recombining keywords