added more functions to table maker