updated to build table from mock data insead of hardcode