determine turn