refactored set_alpha_beta into two different methods