added get and set on the data property