accounted for undefined scores attribute