added delete function to race form