Implemented purge