somehow checks work. Probably need to figure out some way to figure out
whether pieces are pinned now