Added purge controller