The field nom is not defined in the class. (treball)