setting up communication with the sample driver