add delete function to car type module