put check status in showmain function