In Connection class, rename scan() to scan_pqf() and scan1() to scan1()