beta-fitting-instructions