made changes to pass code quality checks