-- moving subscription code over to plugin namespace, for more isolated testing