Updated driving function documentation