This was copied from the delete() function right above it. I removed it on my function, but left delete alone for now