cleaned a code