Changed where the repeat bit is stored so it is in a more logical location