code mutation example fix