adding interceptor for simplified configuration