converted problem to True/False