add protected to methods.