added dispatch interceptor functionality