It’s Ugly. It’s OK.
“GET THE RIGHT ANSWER!”
The problem with that exclamation is the demand for perfection.
That works in a school environment.
However, in life and leadership, binary thinking (right and wrong) stops us from growth.
Instead of the “right” answer, go for the “rightish” answer. Sometimes the “rightish” solution is ugly. In fact, often it is. And the beauty of “rightish” is the ability to iterate and make it better.
As a result, pushing through the ugly with iteration makes something far better than the “perfect” first answer.
Most of the things you used started off on the “rightish” direction and grew from there.