added support for multiple intercept types