getting attributes