adapted demo to the new tagscanninglistener