Added sqr set check