Finish table functions