Changed cb for purge