Added helper function to driver.c to init table