Another attempt at deleting pins