Added purge option