library and driver to capture signatures