added proto repeat