How to get specific in an array of attributes

Please format your pasted code correctly. See point 11 here: How to help us help you - or How to ask a good question