Refactoring - Remove buildTable()

Removed buildTable() function. There were no calls to it.