added populateTableRow function and tried to dynamically fill table, running into some issues