check main