Update of code working on turn