lowering code smells