add setter and getter in Data and Model