How can I setup a object for it can be put in a table?