Added turn logic for each turn