updated private to protected