legend_bug halfway code