create an helper to delete data