adding purge to manager