use attibutes to attach the interceptor