New function in driver.php