q = alpha + beta