purge old code