first version of driver with path memory