Get nested tables working