updated model with dot notation (required when dealing with inheritance)