My first concern was what if productAttributes doesn't have the attribute either. But looking at the rest of the file we check to ensure it's not null. +1