Added the drive function definitions