add consts, protected->private