Using objects to organize the data