added high quality code changes