scrubing the code