pi checking