Change function delete to del