PTR detection added