final polishes after adding beta parameter