change public to protected properties