updated readme and renamed private vars to _name