code to handle SIC codes