Renamed bg to bg(beta)