need to add the checkmateing