add comments for driver.h