REMOVE repeat function