handling of attributes