example c application for the driver