changed playerturn method