cleaining code