implement Accept handling in leader