added an object structure for data