Make the protected variable, private and add a getter function