Modified example: mdclient2