bug fixing: parse method was problematic for random generation
fixe:
    - change the condition for the found number statement