you have alpha why using alphas[i]?