clean up old code