More than 2,000 teenage girls gathered in Sandy on Thursday to explore opportunities in fields related to tech at the annual SheTech Explorer Day convention.

More than 100 private-sector tech companies were on hand to explain and inspire at the massive convention, including Dealertrack, Cox Automotive, Domo, Ivanti, Adobe, Ancestry.com, AT&T, Dell EMC and Vivint Smart Home.

Those are household names in Utah. Opportunities to meet successful women who work in tech can act as a catalyst for similar success. Young women who go to college already having an interest in careers in tech and other STEM (science, technology, engineering and mathematics) fields will be more likely to join those fields after graduation.

As it is, women account for only 23.5 percent of Utah’s tech force, slightly less than the 28 percent national average.

Abbi Rogers, a student from American Fork High School who attended SheTech on Thursday, said, “I could see so many girls and women in the sciences. I felt empowered. There were people in these fields I can look up to.”

SheTech is only one program designed to attract young women to STEM field occupations. Last week the founder of Girls Who Code, Reshma Saujani, visited Utah and announced the creation of more than 50 Girls Who Code clubs across Utah.

Saujani told the young girls, “You’re being duped by a culture that tells you this subject is not for you.”

Lt. Gov. Spencer Cox sees the vision. He spoke at both events and encouraged the young women to prepare for jobs in tech. At SheTech, Cox said, “We need more women in technology, to change the world, and I believe you are the generation to do that.”

Private companies and education are on board. Now we just need the Utah Legislature. Many tech companies in Utah are small and entrepreneurial, and, for companies with fewer than 15 employees, these young women would not be protected against workplace sexual harassment or discrimination.

That’s because this week the Legislature voted against a bill that would have provided such protections, including protection against retaliation for objecting to harassment or discrimination.

Employees at companies with more than 15 employees enjoy these protections. The arbitrary cutoff of 15 employees makes little sense.

Utah’s tech industry is nationally recognized and is helping Utah emerge as a leader. We even have our own moniker, Utah’s own Silicon Valley — Silicon Slopes. We need to prepare for our young women to join these efforts, and that preparation includes ensuring they are treated equally and professionally.

The Legislature needs to modernize to keep up with Utah’s tech.