Add border functions to driver