Adicionando atributo a segments.