added determinePlayer method