repeat method working in HC