I'm actually using this machine I bought online, it has a UV light and some sort of gas that attracts them and they get trapped inside the container and they die. It seems to be working because when I clean it out every month there are lots of mosquitoes, gnats and flies in there.