commit : add a new car function