Move turn logic to one place