splice() instead of delete