handling non-existant class fields