Add the missing alpha
colon++
Really make sure beta is larger than or equal to 1