Added fetching of attributes