Made a variable protected rather than private