changing private value to public