Started working on in_check()

ended without completing the code