adding tip to repeat element