code quality design changes