modified PossibleMoves
modified controller