change visibility of private to protected