CheckValidFlip

check built and tested