renamed private vars to begin with an underscore