improving code quality