add repaitPoint helper fun