clearing old code