private varibles are converted to protected