purge function

2011