add delete fuction