essential callback functions for examples/driver.rb completed