encode dependency on rappor