clear up old code