alphabeta function irrelevant