implement delete data