code reduction start