Added setter method to dataObj