set instance variables to private