Change variable scope from private to protected also