Add the onions, vinegar, sugar, spices, celery salt, salt and pepper and boil until the mixture thickens and reaches the proper consistency.
(the mixture; thickens; ) (the mixture; reaches; the proper consistency)
the mixture the mixture
thickens reaches
the proper consistency