add protected attributes