codeleaning in example