Did a little bit for the isLegal method.