polygon checks