created dataObject to store data and outsourced data processing to the dataObject class