Create tune_code