Create teh_code