make methods protected