passes intercept_method() to intercept function