add alpha beta method