figuring out table