Removed a writeln, and fixed missed cts check