Safer way to detect the location of testem