adding beta option