Create table with an object