code clearing