They built a crude trap that saved their lives