implemented scan for extended public key