added back the delete statement that I had commented out for debugging.