checking main