before purge