extracting attributes