If you live in New York, then you probably remember back to around 2008 to 2010, when bedbugs had infested virtually every public and living space in the city. Movie theaters, subway trains, workplaces, your friend’s apartment; they were everywhere. Aside from a few appearances, thankfully, the last couple of years have been bedbug free. But New York City isn’t the only place bedbugs have called home.

Thankfully, scientists are now preparing a trap for commercial production; all thanks to scientific research from Simon Fraser University biologist Regine Gries. We won’t get into how the trap works too much (you can see that in the video below), but it was developed after five years of research, during which Gries subjected herself to over a thousand bites each week. Her blood contributions, however, will now give people around the world an effective trap for detecting a bedbug infestation.

"The biggest challenge in dealing with bedbugs is to detect the infestation at an early stage,” said her husband Gerhard, a biology professor at the university, in a press release. “This trap will help landlords, tenants, and pest-control professionals determine whether premises have a bedbug problem, so that they can treat it quickly. It will also be useful for monitoring the treatment’s effectiveness.”

Watch the video below to see how the trap attracts bedbugs.