adapt to atributes