B-0 removed all writeln calls. They don't belong to this type of code and conflict iwht application running in console mode