added scanner subscription example