Added debug print for searching