used new methods for knightMoves