Changes to bg.max