Changed instance variables to be private