updated driver_wrapper.c