do not hardcode array index but loop over it looking for identifier