Fixed repeat problem. Still doesn't seem to work, plan to work on main
branch for now.