Investigators say it was the suspect's fisherman-style hat that helped them connect the dots. Police say 70-year-old Christopher Miller is responsible for a string of sex crimes that began in early summer.
"The hat was one of the connections. He's a bald-headed older white male, so there were similarities already," said San Mateo Police Sgt. Dave Norris.
Investigators say the first incident was at the Barnes and Noble in San Mateo. Police say surveillance cameras captured Miller luring a 10-year-old girl into a hallway where he sexually assaulted her.
The second incident happened at a Burger King in Union City where police say Miller exposed himself to a mother and three girls. But it was the third incident when police say they finally caught up with Miller. They arrested him in a parking lot outside Walmart in Mountain View after a customer caught him touching himself inside the store.
Customers were relieved to hear about the arrest.
Christopher Miller has been charged with only one offense so far. Other charges are pending. In the meantime, he's being held at the Santa Clara County Jail on $1 million bail.