now checking legal moves