Added features to friend class, driver.