created function to delete single lead