add detail and delete car