setattr instead of hardcoded field name