trying code in a table