use remove() instead delete()