- change data= to dataset=
- changed some variable names to be clearer about they are