store data in object