changing to protected fields