Added driving functions to library