change interface a little so we can more easily use it from proxy filter