use protected values in model