removing protected modifier from unit