store data using objects