realize PointButton class