entities private vars to protected