$ 0 0 It seems like return statement of the check function is not going off. I would try printing out the result of it