reading attribite data