Improving code quality