code  cleaning