square check