registerTask -> intercept