cleaning code stage 1