Completed Dyncamic Table Generation