add protected attribute