making the interceptor work