set 2 methods to protected access