wrote alpha beta