a simple console that needs checks in line 65