add delete function in application