Try to replace delete function by add to test what happen.